package com.internetCafes.spms.web.customer.service.customer;

import com.baomidou.mybatisplus.extension.service.IService;
import com.internetCafes.spms.web.customer.entity.customer.CustomerCooperationDetail;
import com.internetCafes.spms.web.customer.model.customer.cooperation.CooperationDetailReq;

import java.util.List;

/**
 * <p>
 * 客户合作记录明细 服务类
 * </p>
 *
 * @author Zj
 * @since 2021-11-19
 */
public interface ICustomerCooperationDetailService extends IService<CustomerCooperationDetail> {

    /**
     * 批量保存收入信息列表
     *
     * @param incomeDetailList 收入信息列表
     * @param cooperationId    合作记录id
     * @return true/false
     */
    boolean saveCooperationDetailList(List<CooperationDetailReq> incomeDetailList, Long cooperationId);
}
